{
 "cells": [
  {
   "metadata": {
    "collapsed": true
   },
   "cell_type": "markdown",
   "source": [
    "#### 文档链StuffDocumentsChain(了解)\n",
    "    StuffDocumentsChain是一种文档处理链，它的核心作用是将多个文档内容合并(填充或塞入)到单个提示(prompt)中，然后传递给语言模型(LLM)进行处理。\n",
    "    使用场景：由于所有文档被完整拼接，LLM能同时看到全部内容，所以适合需要全局理解的任务，如总结、问答、对比分析等。\n",
    "    但注意，仅适合处理少量/中等长度文档的场景"
   ],
   "id": "fdb23d19f3aae891"
  },
  {
   "metadata": {},
   "cell_type": "code",
   "outputs": [],
   "execution_count": null,
   "source": "",
   "id": "1b54f08022f48bba"
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 2
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython2",
   "version": "2.7.6"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
